<?php
	class Team extends BaseModel {

		private $idTeam;
		private $user;
		private $name;
		private $site;
		private $teampass;

		public function getIdTeam() {
			return $this->idTeam;
		}
		
		public function setIdTeam($value) {
			$this->idTeam = $value;
		}
		
		public function getUser() {
			return $this->user;
		}
		
		public function setUser($value) {
			$this->user = $value;
		}
		
		public function getName() {
			return $this->name;
		}
		
		public function setName($value) {
			$this->name = $value;
		}
		
		public function getSite() {
			return $this->site;
		}
		
		public function setSite($value) {
			$this->site = $value;
		}
		
		public function getTeampass() {
			return $this->teampass;
		}
		
		public function setTeampass($value) {
			$this->teampass = $value;
		}
		
		public function required() {
			return array(
				"idTeam" => $this->idTeam,
				"user" => $this->user,
				"name" => $this->name,
				"teampass" => $this->teampass
			);
		}

		public function json() {
			return array(
				"idTeam" => $this->idTeam,
				"user" => $this->user,
				"name" => $this->name,
				"site" => $this->site,
				"teampass" => $this->teampass
			);
		}

	}